﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace _220105BookSys.Model.Migrations
{
    public partial class firstInitializeData : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "BookTypes",
                columns: new[] { "Id", "Name" },
                values: new object[] { new Guid("5f296959-e18b-5c2b-363d-33fd96ce191d"), "调试分类1" });

            migrationBuilder.InsertData(
                table: "BookTypes",
                columns: new[] { "Id", "Name" },
                values: new object[] { new Guid("f3fa321a-6adf-6b8e-fd62-e5c5bdae4cd7"), "调试分类2" });

            migrationBuilder.InsertData(
                table: "BookTypes",
                columns: new[] { "Id", "Name" },
                values: new object[] { new Guid("ed1fb7b2-2d12-dc71-0339-ae5573389353"), "调试分类3" });

            migrationBuilder.InsertData(
                table: "Books",
                columns: new[] { "Id", "BookTypeId", "Describe", "Name" },
                values: new object[,]
                {
                    { new Guid("0c2e67c6-71ce-4396-e428-8c4e5d4cc8ee"), new Guid("5f296959-e18b-5c2b-363d-33fd96ce191d"), "调试图书1简介", "调试图书1" },
                    { new Guid("2e1ebb02-f968-cc6d-36c4-4dfa6690c8a8"), new Guid("ed1fb7b2-2d12-dc71-0339-ae5573389353"), "调试图书15简介", "调试图书15" },
                    { new Guid("d77c7396-b76c-4d78-4ceb-77a3cefc28ec"), new Guid("ed1fb7b2-2d12-dc71-0339-ae5573389353"), "调试图书14简介", "调试图书14" },
                    { new Guid("9590623e-fd76-668b-9210-84e403b8256a"), new Guid("ed1fb7b2-2d12-dc71-0339-ae5573389353"), "调试图书13简介", "调试图书13" },
                    { new Guid("bd36ebbc-bfcf-15c5-a8a0-0561df9c0e1a"), new Guid("ed1fb7b2-2d12-dc71-0339-ae5573389353"), "调试图书12简介", "调试图书12" },
                    { new Guid("c415fbb4-62ac-f77e-e9b0-c85390f14706"), new Guid("f3fa321a-6adf-6b8e-fd62-e5c5bdae4cd7"), "调试图书11简介", "调试图书11" },
                    { new Guid("f70477fe-2692-573c-831b-72f4b41098eb"), new Guid("f3fa321a-6adf-6b8e-fd62-e5c5bdae4cd7"), "调试图书10简介", "调试图书10" },
                    { new Guid("06510ee7-6882-1c14-e33d-14866980deae"), new Guid("f3fa321a-6adf-6b8e-fd62-e5c5bdae4cd7"), "调试图书9简介", "调试图书9" },
                    { new Guid("76d35037-99ed-4f39-8d4f-ad632a534c61"), new Guid("f3fa321a-6adf-6b8e-fd62-e5c5bdae4cd7"), "调试图书8简介", "调试图书8" },
                    { new Guid("6fd743ef-9918-fb60-65fc-9727f7638bcf"), new Guid("f3fa321a-6adf-6b8e-fd62-e5c5bdae4cd7"), "调试图书7简介", "调试图书7" },
                    { new Guid("5eb15104-3ffb-5687-04a9-da732fbc09eb"), new Guid("f3fa321a-6adf-6b8e-fd62-e5c5bdae4cd7"), "调试图书6简介", "调试图书6" },
                    { new Guid("c8f6a8fd-1cbb-d9a3-f6c1-7d8f4bdcec3b"), new Guid("5f296959-e18b-5c2b-363d-33fd96ce191d"), "调试图书6简介", "调试图书6" },
                    { new Guid("d3a9817e-f927-9ae9-83af-959b44eccce7"), new Guid("5f296959-e18b-5c2b-363d-33fd96ce191d"), "调试图书5简介", "调试图书5" },
                    { new Guid("386ed8bd-8283-adbd-806b-cc9c9d7799e7"), new Guid("5f296959-e18b-5c2b-363d-33fd96ce191d"), "调试图书4简介", "调试图书4" },
                    { new Guid("7ba9bef5-d45a-f3e8-c968-dc2db1b23825"), new Guid("5f296959-e18b-5c2b-363d-33fd96ce191d"), "调试图书3简介", "调试图书3" },
                    { new Guid("8cd3c781-5d05-49fd-442e-f681e690ee7b"), new Guid("5f296959-e18b-5c2b-363d-33fd96ce191d"), "调试图书2简介", "调试图书2" },
                    { new Guid("68c0e8ed-bb42-f4bc-4b5f-ffb564f9476d"), new Guid("ed1fb7b2-2d12-dc71-0339-ae5573389353"), "调试图书16简介", "调试图书16" },
                    { new Guid("8ae32ffd-9f8a-d813-8ca8-d9906126dd05"), new Guid("ed1fb7b2-2d12-dc71-0339-ae5573389353"), "调试图书17简介", "调试图书17" }
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("06510ee7-6882-1c14-e33d-14866980deae"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("0c2e67c6-71ce-4396-e428-8c4e5d4cc8ee"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("2e1ebb02-f968-cc6d-36c4-4dfa6690c8a8"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("386ed8bd-8283-adbd-806b-cc9c9d7799e7"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("5eb15104-3ffb-5687-04a9-da732fbc09eb"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("68c0e8ed-bb42-f4bc-4b5f-ffb564f9476d"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("6fd743ef-9918-fb60-65fc-9727f7638bcf"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("76d35037-99ed-4f39-8d4f-ad632a534c61"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("7ba9bef5-d45a-f3e8-c968-dc2db1b23825"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("8ae32ffd-9f8a-d813-8ca8-d9906126dd05"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("8cd3c781-5d05-49fd-442e-f681e690ee7b"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("9590623e-fd76-668b-9210-84e403b8256a"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("bd36ebbc-bfcf-15c5-a8a0-0561df9c0e1a"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("c415fbb4-62ac-f77e-e9b0-c85390f14706"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("c8f6a8fd-1cbb-d9a3-f6c1-7d8f4bdcec3b"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("d3a9817e-f927-9ae9-83af-959b44eccce7"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("d77c7396-b76c-4d78-4ceb-77a3cefc28ec"));

            migrationBuilder.DeleteData(
                table: "Books",
                keyColumn: "Id",
                keyValue: new Guid("f70477fe-2692-573c-831b-72f4b41098eb"));

            migrationBuilder.DeleteData(
                table: "BookTypes",
                keyColumn: "Id",
                keyValue: new Guid("5f296959-e18b-5c2b-363d-33fd96ce191d"));

            migrationBuilder.DeleteData(
                table: "BookTypes",
                keyColumn: "Id",
                keyValue: new Guid("ed1fb7b2-2d12-dc71-0339-ae5573389353"));

            migrationBuilder.DeleteData(
                table: "BookTypes",
                keyColumn: "Id",
                keyValue: new Guid("f3fa321a-6adf-6b8e-fd62-e5c5bdae4cd7"));
        }
    }
}
